package jia.editor;

import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionAdapter;

public class ModuleEditorPanelMouseMotionListener extends MouseMotionAdapter{
    protected ModuleEditorPanelController controller;
    
    //====================================================
    /**
     */
    private ModuleEditorPanelMouseMotionListener(){
        // GNDN
    }
    
    //====================================================
    /**
     * @param controller
     */
    public ModuleEditorPanelMouseMotionListener(ModuleEditorPanelController controller){
        this.controller = controller;
    }
    
    //====================================================
    /**
     * @see java.awt.event.MouseMotionAdapter#mouseDragged(java.awt.event.MouseEvent)
     */
    public void mouseDragged(MouseEvent evt){
        controller.handleMouseDrag(evt);
    }
}
